<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
	<h3 align="center">请输入合同的基本信息</h3>
	<body>
		<form:form modelAttribute="contract" action="${pageContext.request.contextPath }/contract/addContract" method="post" 
		style="width: 15%; margin: auto">
		<form:hidden path="detailsNum" value="0"/>
			销售员:<form:input path="salesMan"/><br>
			顾客:<form:input path="customer"/><br>
			金额:<form:input path="money"/><br>
			<form:hidden path="states" value="未履行"/><br>
			<input type="submit" value="提交"/><br>
		</form:form>
	</body>
</html>